<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>添加四级机构界面</title>
  <link rel="stylesheet" th:href="@{/libs/css/jigou/insertDept.css}">
</head>
<body>

<form class="box-1" method="post" action="/jigou/insertDept">
  <h2 class="xiugai">添加四级机构</h2>
  <div class="form-group">
    <label for="parentid" class="col-sm-2 control-label">上级机构</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="areaname" th:value="${areaname}" readonly="readonly">
      <input type="hidden" name="parentid" th:value="${parentid}" id="parentid">
    </div>
  </div>
  <div class="form-group">
    <label for="deptcode" class="col-sm-2 control-label">机构编号</label>
    <div class="col-sm-10">
      <input type="text" class="form-control"
             name="deptcode" id="deptcode">
    </div>
  </div>
  <div class="form-group">
    <label for="deptname" class="col-sm-2 control-label">机构名称</label>
    <div class="col-sm-10">
      <input type="text" class="form-control"
             name="deptname" id="deptname">
    </div>
  </div>
  <div th:text="${msg}"></div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-default">添加</button>
      <span id="button"></span>
    </div>
  </div>
</form>
</body>
<!--   引入jquery-->
<!--<script th:src="@{/libs/js/jquery/jquery.min.js}"jquery></script>-->
<script src="https://src.axui.cn/src/js/jquery-1.10.2.min.js" type="text/javascript"></script>

<!--    bootstrap样式-->
<link rel="stylesheet" th:href="@{/libs/js/bootstrap-3.4.1-dist/css/bootstrap.min.css}">
<script th:src="@{/libs/js/bootstrap-3.4.1-dist/js/bootstrap.min.js}"></script>
<!--引入js-->
<script th:src="@{/libs/js/jigou/insertDept.js}" type="text/javascript"></script>

</html>